OCLOperators Download

Triggers a download of arbitrary byte array to a client under a file name and file type. This method is available within the context a of ViewModel.

OCL Expression

selfVM.Download(<file name>, <file data>)

Arguments

file name: String

Name to be assigned to the download file including the file extension. For example, for open document text document. add '.odt' in the file name.

file data: Blob | byte[]

Byte array of the file content to be downloaded.

Return Type

Blob

This page was edited 59 days ago on 09/19/2024. What links here